package com.moxiao.yfjh.module.blind.convert.memberMessage;

import com.moxiao.yfjh.module.blind.controller.admin.memberMessage.vo.MemberMessageCreateReqVO;
import com.moxiao.yfjh.module.blind.controller.admin.memberMessage.vo.MemberMessageExcelVO;
import com.moxiao.yfjh.module.blind.controller.admin.memberMessage.vo.MemberMessageRespVO;
import com.moxiao.yfjh.module.blind.controller.admin.memberMessage.vo.MemberMessageUpdateReqVO;
import com.moxiao.yfjh.module.blind.dal.dataobject.memberMessage.MemberMessageDO;
import java.util.*;

import com.moxiao.yfjh.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.moxiao.yfjh.module.blind.controller.admin.memberMessage.vo.*;

/**
 * 相亲聊天记录 Convert
 *
 * @author mx
 */
@Mapper
public interface MemberMessageConvert {

    MemberMessageConvert INSTANCE = Mappers.getMapper(MemberMessageConvert.class);

    MemberMessageDO convert(MemberMessageCreateReqVO bean);

    MemberMessageDO convert(MemberMessageUpdateReqVO bean);

    MemberMessageRespVO convert(MemberMessageDO bean);

    List<MemberMessageRespVO> convertList(List<MemberMessageDO> list);

    PageResult<MemberMessageRespVO> convertPage(PageResult<MemberMessageDO> page);

    List<MemberMessageExcelVO> convertList02(List<MemberMessageDO> list);

}
